package cfdt.common.config;

import cfdt.common.logging.FeignInfoLogger;
import feign.Logger;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class FeignLogConfig {

    @Bean
    Logger.Level feignLoggerLevel() {
        return Logger.Level.FULL;
    }

    @Bean
    Logger FeignInfoLogger() {
        return new FeignInfoLogger();
    }
}
